package com.yuexiang.melodyhub.gateway.component;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Data
@Component
@ConfigurationProperties(prefix = "auth")
public class AuthProperties {

    private Map<String, List<String>> roles;

}
